package com.systop.busafter.journalism.service;
import com.systop.commer.pojo.Journalism;
import java.util.List;

public interface JsmService {
    /*
     * 修改journalism
     * journalism journalism
     * return int
     * csh
     * */
      int updatajournalism(Journalism journalism);


    //"time = #{time,jdbcType=TIMESTAMP} "  时间类型

    /*
     * 添加journalism
     * journalism journalism
     * return int
     * csh
     * */
    int insertjournalism(Journalism journalism);


    /*
     * 查看全部
     * 无
     * list
     * csh
     * */
    List<Journalism> journalismListall();

    /*
     * 用id查看journalism
     * journalism_id  int
     * list
     * csh
     * */
    List<Journalism> journalismIdlist(int journalism_id);

    /*
     * 删除journalism
     * journalism_id  int
     * return int
     * csh
     * */
    int deletejournalism(int journalism_id);

    /*
     * 用状态查journalism
     * journalism_id  int
     * list
     * csh
     * */
    List<Journalism> journalismstatelist(int journalism_state);


    /*
     * 用状态查journalism
     * journalism_state  int

     * */
    List<Journalism> journalismstate(int journalism_state);

    /*
     * 通过id修改状态
     * journalism journalism
     * return int
     * csh
     * */
    int updatajournastate(Journalism journalism);

}
